﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Shop.Core.Domain.Catalog
{
    /// <summary>
    /// 商品品类
    /// </summary>
    public class Category : BaseEntity<string>
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name
        {
            get;
            set;
        }
        /// <summary>
        /// 父品类Id
        /// </summary>
        /// <remarks>
        /// 如果此属性为Null，则是顶级品类。
        /// </remarks>
        public string ParentId
        {
            get;
            set;
        }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description
        {
            get;
            set;
        }
    }
}
